<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    @section('headcss')
        <link rel="stylesheet" href="{{asset('/default/css/public.css')}}">
        <link rel="stylesheet" href="{{asset('/default/css/layouts/companyPublic.css')}}">
    @show
    <title>{{Site::get('webname')}}-@yield('title')</title>
</head>

<body>
<div class="head">
    <div class="con">
        <div class="left">欢迎来到{{Site::get('webname')}}！</div>
        <div class="right">
            <ul>
                <li class="mobile"><i></i><a href="{{url('/mobile_help')}}">手机版</a></li>
                <li class="refreshResume"><a href="{{url('/company/welcome?refreshtip=yes')}}">刷新职位</a><i></i></li>
                <li id="selectNavUserName" class="userName"><div><a href=""><span>@if (Auth::guard("company")->check()){{ Auth::guard("company")->user()->username }}@endif</span><i></i></a></div></li>
            </ul>
        </div>
    </div>
</div>

<div id="userMenu_option" class="userMenu">
    <ul>
        <li><a href="{{url('/company/welcome')}}"><span>账户中心</span></a></li>
        <li class="resume"><a href="{{url('/company/jobadmin')}}"><i></i><span>职位管理</span><b>管理</b></a></li>
        <li class="notice"><a href="{{url('/company/resume_message')}}"><i></i><span>收到简历</span><b>查看</b></a></li>
        <li><a href="{{url('/company/resume_favorite')}}"><span>人才库</span><b>查看</b></a></li>
        <li class="favorites"><a href="{{url('/company/interview_manage')}}"><i></i><span>面试管理</span><b>相看</b></a></li>
        <li class="set"><a href="{{url('/company/set_account')}}"><i></i><span>账号设置</span><b>设置</b></a></li>
        <li><a href="{{asset('/company/logout')}}"><span>安全退出</span></a></li>
    </ul>
</div>


<div class="nav">
    <div class="navSmall">
        <div class="navFloat">
            <div class="logo"><a href="{{asset('/')}}"><img src="/default/images/logo/nav.png"> </a> </div>
            <div class="menu">
                <ul>
                    @if(!empty($menuNav))
                        @foreach($menuNav as $v)
                            <li><a href="{{url($v->nav_url)}}">{{$v->nav_name}}</a></li>
                        @endforeach
                    @endif
                </ul>
            </div>
            <div class="index"><a  target="_blank" href="{{url('/company/go_home')}}"><b></b><span class="indexText">浏览主页</span></a>  </div>

        </div>
    </div>
</div>

@section('rightcon')
    <div class="right">
        <p>主体内容</p>
    </div>
@show

<div class="bottomnav">
    <div class="center">
        <div class="con conbc">
            @include('default.layouts.simple_footer')
        </div>
    </div>
</div>

@section('footerjs')
    {{--<script type="text/javascript" src="{{asset('/default/js/public.min.js')}}"></script>--}}

    <script type="text/javascript" src="{{asset('/default/js/jquery.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/public.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/jquery/jquery.validate.min.js')}}"></script>
    <script type="text/javascript" src="{{asset('/vendor/org/layer/layer.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/jquery/jquery.select.js')}}"></script>

    <script type="text/javascript" src="{{asset('/default/js/jquery/messages_zh.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/company/head.js')}}"></script>
@show
</body>
</html>